package com.sxj.PDMS.service;

import com.sxj.PDMS.model.vo.PagingQueryResponse;
import com.sxj.PDMS.model.entity.Student;
import com.sxj.PDMS.model.dto.student.StudentSelectRequest;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface StudentManageService {
    public void registerStudentBatch(List<Student> students);

    PagingQueryResponse<Student> selectAll(Integer page, Integer pageSize);

    public PagingQueryResponse<Student> selectWithCondition(Integer page,
                                                            Integer pageSize,
                                                            StudentSelectRequest studentSelectRequest);


    void selectAllStudentAndDownload(StudentSelectRequest studentSelectRequest, HttpServletResponse response);
}
